package com.qy139.store.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qy139.entity.Room;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qy139.util.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hjl
 * @since 2021-12-01
 */
public interface IRoomService extends IService<Room> {

    IPage<Room> selectAll(Page<Room> page, String rname);

    Result selectName(Room room);

    Result addRoomOrUpdate(Room room);

    Result updateSta(Room room);
}
